package com.dongchedi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(scanBasePackages = "com")                //标注这是一个springboot项目
//@ComponentScan("com.dongchedi.mapper")
public class HelloWorldMain {
    public static void main(String[] args) {
        //启动spring应用
        SpringApplication.run(HelloWorldMain.class,args);
    }
}
